﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;

namespace CSMF
{
    public partial class SinaSmallLogin : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
        
         
                var service = new SinaService();

                var oauth = service.GetSmallLoginOAuth();

                var authUrl = oauth.GetAuthorizeURL();

                Response.Redirect(authUrl);


           

        }

        

    }
}